package com.lbb.springboot.auto.util;


import java.net.URLEncoder;


public class Cfg {


//    private static String baseUrl="http://47.92.232.233/ulbb";


    public static final String COURSE_TOKEN = "1057831908918370305a955c5ae-c5a7-4a77-926c-5ce9081ebfc9";
    public static final String PIC = "201904/java20190403181217e9de97fe.png";


    public static class Weixin {


        public static final String LOCATION_APPID = "wx6d9208250c1e3d29";
        public static final String LOCATION_APPSECRET = "9f44ed1f6921784c3eaaf72242766605";
        public static final String LOCATION_MCHID= "1523313751";

//        public static final String LOCATION_APPID = "wxd9afb02aff9abada";
//        public static final String LOCATION_APPSECRET = "d4f98369ea84561ac6ad9dc495be34cd";
//        public static final String LOCATION_MCHID = "1303982701";


        public static final String APPID = "wxd9afb02aff9abada";
        public static final String MCHID = "1303982701";
        public static final String KEY = "06a97b7219b939bceb8b5038bc803d37";
        public static final String APPSECRET = "d4f98369ea84561ac6ad9dc495be34cd";
        public static final String unifiedorderURL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
        public static final String NOTIFY_URL = "/wechat/notify_weixin";
        public static final String REFUND_NOTIFY_URL = "/wechat/refund_notify_weixin";


        public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";

        public static final String AUTH_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx44504cc1ce277cee"
                + "&redirect_uri=" + URLEncoder.encode("http://test.chapteronewines.com/redwine/wechatPay/authRedirect")
                + "&response_type=code&scope=snsapi_userinfo&state=park#wechat_redirect";


        //获取openId
        public static String oauth2_url = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx44504cc1ce277cee"
                + "&secret=f6b52fa459ab3fb78d69b8503b3e6f2c&code=CODE&grant_type=authorization_code";
    }

    public static void main(String[] args) {
        System.out.println(Weixin.AUTH_URL);
    }

    public static class Alipay {
        // 商户PID
        public static final String PARTNER = "2088121898263334";
        // 商户收款账号
        public static final String SELLER = "czwmwtg@163.com";
        // 商户私钥，pkcs8格式
        public static final String RSA_PRIVATE = "MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEAm2O394neS6gQE3CpZntP1bBS+Wj51g5HLFRT8kqZOYcKwRfN9/kOSV3uzuioW3WANeNxaqPILlD5XYS3QgmHHwIDAQABAkAUYZv7p+W0XrLdGeXeP0ZVbO81L4O1g+Hp+pWYLhiy5sM5ZNBdPxTEv0AdUbH7w/cApAMHAHLCg9VI41IIAHGBAiEAy4VULesAquvSdFPIuE0lzWVcvkW8+TK4pn6m0fEkqy8CIQDDdS5tmW90DE0H/BVbOZ1noOfL85lxnpmj2q3rplonEQIgEuvhaKd5l2p3VYNYnPHnOtJargHz0MNLcYdC4S/nNdcCIFoKrpPA3m44iHgIMhJvbUri/kWfd+22oZKxV/O6E8fxAiAHfhLjkCjd2iKPVNFRAKT8nl9tK4vCG2Zc0CwTX8ZsXw==";
        // 支付宝公钥
        public static final String RSA_PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";

        public static final int SDK_PAY_FLAG = 1;

        public static final String SIGN_TYPE = "sign_type=\"RSA\"";

//        public static final String NOTIFY_URL = baseUrl + "notify_alipay";


        public static final String CHECK_COMPANY_URL = "http://qianzhan1.market.alicloudapi.com";

        public static final String AL_CODE = "79fb9cf0684a40e2aae54a38da3cb89a";

    }

    /**
     * 百度
     */
    public static class Baidu {
        public static final String APP_ID = "11669005";
        public static final String API_KEY = "yIYELNnnUOvdTbQDOHB2VbZY";
        public static final String SECRET_KEY = "jMvGBzE9HpNwZGO6spXYfG8Y9phUoEpG";
    }

    /**
     * 七牛云存储
     */
    public static class QiNiu {
        public static final long EXPIRESECONDS = 24 * 60 * 60;
        public static final String ACCESSKEY = "Nu0wBlc1MhEErIW8xMkfNSjXaC1j-1EVkvEleLDt";
        public static final String SECRETKEY = "ijz5x0HJEPHCFEImeO5c_fbP7q9b6PKueq3yxvff";
    }

    /**
     * 车助手927分销
     */
    public static class lbbAssistant {
        public static final String BASE_URL = "http://www.gd927.com/";
        public static final String BASE_URL_PATH = "OAuth/FX_Wzxx";
        public static final String TO_KEN = "A3EE87A7-4BD9-40E6-BE59-F0F2E17EA991";

    }

    /**
     * 智能开放----卡车定位
     */
    public static class lbbLocation {
        public static final String LOCATION_URL = "https://zhiyunopenapi.95155.com/apis";
        public static final String USER_NAME = "a57ffb84-817d-488a-b3b3-6b08366b5e75";
        public static final String USER_PWD = "j7wT28439Jd0ajP9ckt694Ljdv7pM8";
        public static final String CLIENT_ID = "6c9fd723-d24b-4b85-a5a7-c2a76df1f5d5";
        public static final String TOKEN = "LocationToKen";
    }

}
